< previous page page_121 next page >

Page 121
z0141-01.gif
Figure 4.6
Measuring escapement for rotated text.
Orientation
The Orientation parameter specifies the orientation angle of the characters in tenths of degrees. Windows assumes that Escapement and Orientation are the same, so it ignores Orientation.
Weight
The Weight parameter specifies the weight of the font. You can specify one of the values listed in Table 4.1. The result depends on the font. Many fonts honor only FW_NORMAL and FW_BOLD weights, and other values are mapped to one of those. If you set the weight to FW_DONTCARE (0), the font mapper uses a default weight. Note that some of the values are duplicates. For instance, FW_NORMAL and FW_REGULAR both have value 400, so they produce the same result.
Table 4.1 Font Weight Constants
CONSTANTVALUE
FW_DONTCARE0
FW_THIN100
FW_EXTRALIGHT200
FW_ULTRALIGHT200
FW_LIGHT300
FW_NORMAL400
FW_REGULAR400
FW_MEDIUM500
FW_SEMIBOLD600
FW_DEMIBOLD600
FW_BOLD700
FW_EXTRABOLD800
FW_ULTRABOLD800
FW_BLACK900
FW_HEAVY900

 
< previous page page_121 next page >